﻿using System.ComponentModel;



namespace ImageBrowser
{
    public class ImageInformation : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged = delegate { };

        public string _ImageName;
        public string ImageName
        {
            get { return _ImageName; }
            set { _ImageName = value; OnPropertyChanged("ImageName"); }
        }

        public string _ImagePath;
        public string ImagePath
        {
            get { return _ImagePath; }
            set { _ImagePath = value; OnPropertyChanged("ImagePath"); }
        }

        private void OnPropertyChanged(string PropertyName)
        {
            PropertyChanged(this, new PropertyChangedEventArgs(PropertyName));
        }
    }
}